package data类;

import java.util.Date;

public class 一万s后的日期 {
    public static void main(String[] args) {

        Date current_date = new Date();
        System.out.print("当前的日期:");
        System.out.println(current_date);

        long current_value = current_date.getTime()+10000*1000;
        Date future_date = new Date(current_value);

        System.out.print("一万s后的日期是:");
        System.out.println(future_date);
    }
}
